reverse
Reverses the order of the elements in the list in place.
Where this list is bound to the variable l
, then the statement l.reverse();
is equivalent to l = l.reversed();
.
Since
0.11.0
Reverses the order of the elements in the list in place.
Where this list is bound to the variable l
, then the statement l.reverse();
is equivalent to l = l.reversed();
.
0.11.0